package com.hanthink.system.domain.manhour;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hanthink.common.annotation.Excel;
import com.hanthink.common.core.domain.BaseEntity;

/**
 * 理论辅助用工设定对象 TheoryAssistWorkSet
 * 
 * @author hanthink
 * @date 2022-01-04
 */
public class TheoryAssistWorkSet extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 实体ID */
    @Excel(name = "实体ID")
    private Long id;

    /** 公司代码 */
    @Excel(name = "公司代码")
    private String companyid;

    /** 辅助工类型 */
    @Excel(name = "辅助工类型")
    private String assistworktype;

    /** 辅助工类型 */
    @Excel(name = "设备分类") //新增加的字段
    private String machineclass;

    /** 理论用工数 */
    @Excel(name = "理论用工数")
    private float theorywork;

    /** 机台数 */
    @Excel(name = "机台数")
    private float machinecount;

    public void setId(Long id) 
    {
        this.id = id;
    }
    public Long getId() 
    {
        return id;
    }

    public void setCompanyid(String companyid) 
    {
        this.companyid = companyid;
    }
    public String getCompanyid() 
    {
        return companyid;
    }

    public void setMachineClass(String machineclass)
    {
        this.machineclass = machineclass;
    }
    public String getMachineClass()
    {
        return machineclass;
    }

    public void setAssistworktype(String assistworktype) 
    {
        this.assistworktype = assistworktype;
    }

    public String getAssistworktype() 
    {
        return assistworktype;
    }
    public void setTheorywork(Integer theorywork) 
    {
        this.theorywork = theorywork;
    }

    public float getTheorywork()
    {
        return theorywork;
    }
    public void setMachinecount(Integer machinecount) 
    {
        this.machinecount = machinecount;
    }

    public float getMachinecount()
    {
        return machinecount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
              .append("id", getId())
                .append("companyid", getCompanyid())
            .append("assistworktype", getAssistworktype())
                .append("machineclass", getMachineClass())
            .append("theorywork", getTheorywork())
            .append("machinecount", getMachinecount())
            .toString();
    }
}
